package LEKIEUANH.ARRAYS.EX05;

import LEKIEUANH.ARRAYS.EX02.Controller;

public class Views {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int[] myArr = {99,2,4,5,10,100,8,-22,44,3,60};
		
		Controllers objController = new Controllers();
		System.out.println("Kết quả sau khi sắp xếp: ");
		int[] kq = objController.selectionSort(myArr);
		String StrOut="";
		for(int i = 0;i<kq.length;i++){
			if(StrOut.isEmpty()){
				StrOut +=kq[i];
			}else{
				StrOut=", "+kq[i];
			}
			System.out.print(StrOut);
		}

	}

}
